Only start logind if dbus is installed
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)
committerLuca Boccassi <bluca@debian.org>
Thu, 10 Oct 2024 17:40:53 +0000 (18:40 +0100)
commitc3a91ef6be4157dd465d5c4ce0c147cb8bfde236
treef2a77617f057d25f7f05a158e12787ab60a16b0e
parent8ad2f9985d5db8b4675e75bdcf6205db5ea601e1
Only start logind if dbus is installed

logind fails to start in environments without dbus, such as LXC containers or
servers. Add a startup condition to avoid the very noisy startup failure.

Consider both dbus-daemon (the reference implementation) and
dbus-broker.

Part of #772700

Gbp-Pq: Topic debian
Gbp-Pq: Name Only-start-logind-if-dbus-is-installed.patch
units/systemd-logind.service.in